package edu.common;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 此类用作手机验证码
 */
public class Verification {
    /**
     * 200 - 发送成功
     * 201 - 发送失败
     * 202 - 未过期
     */
    private Integer status;
    private Long time;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public Verification(Integer status, Long time) {
        this.status = status;
        this.time = time;
    }
}
